package com.tanhua.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(value = "movement_timeline")
public class MovementTimeLine implements Serializable {

    private ObjectId id;
    private ObjectId movementId;//动态id
    private Long userId;//发布动态的用户id
    private Long friendId;//可见好友id
    private Long created;

}
